package cn.mdmm.common;

/**
 * @author Administrator
 * 
 */
public class MessageConstant {
	/**抱歉：系统运行错误*/
	public static final String SYSTEM_ERROR = "SYSTEM_ERROR";
	
	//登录异常
	/**验证码不能为空*/
	public static final String VERIFICATION_CODE_EMPTY = "VERIFICATION_CODE_EMPTY";
	/**验证码错误*/
	public static final String VERIFICATION_CODE_ERROR = "VERIFICATION_CODE_ERROR";
	/**密码不能为空*/
	public static final String PASSWORD_EMPTY = "PASSWORD_EMPTY";
	/**您还没有登录，请先登录*/
	public static final String NOT_LOGIN = "NOT_LOGIN";
	/**该用户不存在*/
	public static final String USER_DOES_NOT_EXIST = "USER_DOES_NOT_EXIST";
	/**该用户已存在*/
	public static final String USER_DOES_IS_EXIST = "USER_DOES_IS_EXIST";
	/**手机已存在*/
	public static final String PHONE_DOES_IS_EXIST = "PHONE_DOES_IS_EXIST";
	/**邮箱已存在*/
	public static final String EMAIL_DOES_IS_EXIST = "EMAIL_DOES_IS_EXIST";
	/**用户帐号已存在*/
	public static final String LOGIN_NAME_DOES_IS_EXIST = "LOGIN_NAME_DOES_IS_EXIST";
	/**密码错误，请重试*/
	public static final String PASSWORD_ERROR = "PASSWORD_ERROR";

	//修改密码
	/**旧密码不能为空*/
	public static final String OLD_PASSWORD_EMPTY = "OLD_PASSWORD_EMPTY";
	/**新密码不能为空*/
	public static final String NEW_PASSWORD_EMPTY = "NEW_PASSWORD_EMPTY";
	/**新密码不一致*/
	public static final String NEW_PASSWORD_DIVERSE = "NEW_PASSWORD_DIVERSE";

	//短信
	/**手机不能为空*/
	public static final String SMS_PHONE_EMPTY = "SMS_PHONE_EMPTY";
	/**验证码已发送，请稍后再试(一分钟只能发送一次)*/
	public static final String SMS_MINUTE_OVER = "SMS_MINUTE_OVER";
	/**发送验证码失败*/
	public static final String SMS_SEND_FAIL = "SMS_SEND_FAIL";
	/**验证码已失效（重新发送）*/
	public static final String SMS_INVALID = "SMS_INVALID";
	/**验证码已使用（重新发送)*/
	public static final String SMS_VALIDATION_CODE_ALREADY_USE = "SMS_VALIDATION_CODE_ALREADY_USE";
	/**60分钟只能发送5次*/
	public static final String SMS_60MINUTE_OVER = "SMS_30MINUTE_OVER";
	/**一个手机一天只能发送10次*/
	public static final String SMS_DAY_OVER = "SMS_DAY_OVER";
	/**验证码错误次数过多*/
	public static final String SMS_MAX_ERROR_OVER = "SMS_MAX_ERROR_OVER";
	
	/**收藏类型错误*/
	public static final String COLLECT_TYPE_ERROR = "COLLECT_TYPE_ERROR";
}
